package service.impl;

import dao.OrderInfoDao;
import dao.impl.OrderInfoDaoImpl;
import service.OrderInfoService;
import vo.OrderInfoVo;

import java.util.List;

public class OrderInfoServiceImpl implements OrderInfoService {
    OrderInfoDao dao=new OrderInfoDaoImpl();
    /**
     * 查询订单详情
     * @param id
     * @return
     */
    @Override
    public List<OrderInfoVo> selectAll(int id) {
        return dao.selectAll(id);
    }
}
